<!DOCTYPE html>
<html>
	<head>
		<title></title>
	</head>
	<body>
		<script>
			var username=prompt("请输入用户名:");
			var username_c="lihua";
			if(username==username_c)
			{
				var password=prompt("请输入密码：");
				if(password=="666666")
				{
				document.write("登录成功！")
				}
				else
				{
					document.write("请输入正确的密码");
				}
			}
			
			else
			{
				document.write("请输入正确的用户名！")
			}
		</script>
	</body>
</html>